package com.yilife.kdys;

import org.apache.catalina.servlet4preview.http.HttpServletRequest;

/**
 * Created by wuganlin on 2017/2/8.
 */
public class KdysRequest implements RequestFill {
    private String sign;
    private Long unitTime;

    @Override
    public boolean fill(HttpServletRequest request) throws Exception{
        sign = request.getParameter("sign");
        unitTime = Long.parseLong(request.getParameter("unit_time"));
        return true;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public Long getUnitTime() {
        return unitTime;
    }

    public void setUnitTime(Long unitTime) {
        this.unitTime = unitTime;
    }
}
